package model.didactic;

/**
 * Created with IntelliJ IDEA.
 * Author: Kostika Gorica
 * User:   kosta
 * Date:   1/2/13
 * Time:   12:37 AM
 */
public class InformationSource {
    private int id;
    private String sourceName;
    private String description;
    private int parentId;

    public InformationSource(){
        this(0,"","",0);
    }

    public InformationSource(int id, String sourceName, String description, int parentId) {
        this.setId(id);
        this.setSourceName(sourceName);
        this.setDescription(description);
        this.setParentId(parentId);
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSourceName() {
        return sourceName;
    }

    public void setSourceName(String sourceName) {
        this.sourceName = sourceName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }
}
